﻿//源代码编码必须是: UTF-8(BOM)
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif

#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include<mycoin.h>

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //explicit PlayScene(QWidget *parent = 0);

    PlayScene(int levelNum);

    int levelIndex ; //内部成员属性 记录所选的关卡

    //重写paintEvent事件
    void paintEvent(QPaintEvent *);

    int gameArray[4][4]; //二维数组数据 维护每关具体数据

    MyCoin * coinBtn[4][4]; //金币按钮数组

    bool isWin ; //是否胜利

signals:
    void chooseSceneBack();
public slots:
};

#endif // PLAYSCENE_H
